package top.humbleyuan.designmode.proxy.statical;

/**
 * @Author HumbleYuan
 * @Date 2019/11/20 13:52
 * @Des 事务实现类
 */
public class TransactionImpl implements Transaction {

    @Override
    public void start() {
        System.out.println("模拟启动事务...");
    }

    @Override
    public void rollback() {
        System.out.println("模拟回滚事务...");
    }

    @Override
    public void close() {
        System.out.println("模拟关闭事务...");
    }
}
